package com.inwavetech.os.util.field;

import java.util.HashMap;

/**
 * Created by jgskin on 2/14/14.
 */
public class FieldsCollection extends HashMap<String, Field> {

    public boolean isValid() {
        boolean isValid = true;

        for (Field field: values()) {
            if (!field.isValid()) {
                isValid = false;
            }
        }

        return isValid;
    }

}
